/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework.Demo03;

/**
 *
 * @author Administrator
 */
public class NewClass {
     private String name;
    private String phone;
    private String dff;

    public NewClass() {
    }

    public NewClass(String name, String phone, String dff) {
        this.name = name;
        this.phone = phone;
        this.dff = dff;
    }

    public String getDff() {
        return dff;
    }

    public void setDff(String dff) {
        this.dff = dff;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    @Override
            public String toString(){
        return this.getName()+""+this.getPhone();
    }
    
}
    






